package com.xmtlxx.system.domain.bo;

import com.xmtlxx.common.core.domain.BaseEntity;
import com.xmtlxx.system.domain.SysOss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 流程日志业务对象 sys_worklog
 *
 * @author xmtlxx
 * @date 2022-04-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("流程日志业务对象")
public class SysWorklogBo extends BaseEntity {

    /**
     * 日志id
     */
    @ApiModelProperty(value = "日志id")
    private String logid;

    /**
     * 流程id
     */
    @ApiModelProperty(value = "流程id")
    private String wid;

    /**
     * 节点id
     */
    @ApiModelProperty(value = "节点id")
    private String nid;

    /**
     * 对象id
     */
    @ApiModelProperty(value = "对象id")
    private String objid;

    /**
     * 节点名称
     */
    @ApiModelProperty(value = "节点名称")
    private String name;

    /**
     * 业务模块：见枚举
     */
    @ApiModelProperty(value = "业务模块：见枚举")
    private String busstype;

    /**
     * 页面路由
     */
    @ApiModelProperty(value = "页面路由")
    private String route;

    /**
     * 经办id
     */
    @ApiModelProperty(value = "经办id")
    private Long operatorid;

    /**
     * 经办类型：0-用户；1-角色；2-部门
     */
    @ApiModelProperty(value = "经办类型：0-用户；1-角色；2-部门")
    private String otype;

    /**
     * 经办名称
     */
    @ApiModelProperty(value = "经办名称")
    private String oname;

    /**
     * 经办人
     */
    @ApiModelProperty(value = "经办人")
    private Long userId;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 前经办日志id
     */
    @ApiModelProperty(value = "前经办日志id")
    private String prelogid;

    /**
     * 前经办人
     */
    @ApiModelProperty(value = "前经办人")
    private Long preid;

    /**
     * 前经办节点
     */
    @ApiModelProperty(value = "前经办节点")
    private String prenid;

    /**
     * 动作：0-驳回；1-通过；2-不通过；3-转办；
     */
    @ApiModelProperty(value = "动作：0-驳回；1-通过；2-不通过；3-转办；")
    private String action;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String memo;

    /**
     * 关联业务流程
     */
    @ApiModelProperty(value = "关联业务流程")
    private String pid;

    @ApiModelProperty("执行人")
    private String userName;

    @ApiModelProperty("转办类型")
    private String ttype;

    @ApiModelProperty("转办ID")
    private Long tid;

    @ApiModelProperty("转办名称")
    private String tname;

    @ApiModelProperty("区域ID->沙滩ID")
    private String oid;

    private String pic;

    private List<SysOss> pics;
}
